package com.frame.demo.injector.moudle;


import com.frame.demo.rest.RetrofitHelper;
import com.frame.demo.rest.service.LoginService;

import dagger.Module;
import dagger.Provides;

/**
 * 提供retorfit的api的module
 * @author bingo
 * @version 1.2.0
 * @date 15/12/23
 */

@Module
public class ApiModule {
    @Provides
    LoginService provideLoginService(RetrofitHelper mRetrofitHelper) {
        return mRetrofitHelper.getService(LoginService.class);
    }

}
